<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.ProgressCircle类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_progress_circle.html">ProgressCircle</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_progress_circle-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.ProgressCircle类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.ProgressCircle 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_progress_circle.png" usemap="#awtk.ProgressCircle_map" alt=""/>
  <map id="awtk.ProgressCircle_map" name="awtk.ProgressCircle_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ad45fb26fda33797657be5df2e8f5d82b"><td class="memItemLeft" align="right" valign="top"><a id="ad45fb26fda33797657be5df2e8f5d82b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ProgressCircle</b> (long nativeObj)</td></tr>
<tr class="separator:ad45fb26fda33797657be5df2e8f5d82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab66afdd5bfdf457fafb46d4108b18655"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#ab66afdd5bfdf457fafb46d4108b18655">setValue</a> (double value)</td></tr>
<tr class="separator:ab66afdd5bfdf457fafb46d4108b18655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef4fe8d2a6eb823803d41359fe358c50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#aef4fe8d2a6eb823803d41359fe358c50">setMax</a> (int max)</td></tr>
<tr class="separator:aef4fe8d2a6eb823803d41359fe358c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4022e2a536a3cb278146b9b2b1a70ae2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a4022e2a536a3cb278146b9b2b1a70ae2">setLineWidth</a> (int line_width)</td></tr>
<tr class="separator:a4022e2a536a3cb278146b9b2b1a70ae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7014b8cd63127dabe5772835787c568"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#ac7014b8cd63127dabe5772835787c568">setStartAngle</a> (int start_angle)</td></tr>
<tr class="separator:ac7014b8cd63127dabe5772835787c568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cefef751f59a6af2e3151735d079525"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a1cefef751f59a6af2e3151735d079525">setUnit</a> (String unit)</td></tr>
<tr class="separator:a1cefef751f59a6af2e3151735d079525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf57a4252c4a8bdef3c3a81cf184658a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#adf57a4252c4a8bdef3c3a81cf184658a">setShowText</a> (boolean show_text)</td></tr>
<tr class="separator:adf57a4252c4a8bdef3c3a81cf184658a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1247154748a1ee783276f0829a2bbb67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a1247154748a1ee783276f0829a2bbb67">setCounterClockWise</a> (boolean counter_clock_wise)</td></tr>
<tr class="separator:a1247154748a1ee783276f0829a2bbb67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370d6c2c6c6741d6e76b2d0f0cd8e548"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a370d6c2c6c6741d6e76b2d0f0cd8e548">getMax</a> ()</td></tr>
<tr class="separator:a370d6c2c6c6741d6e76b2d0f0cd8e548"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad2bd56d36c75bcc4c24cbe318b8dc2f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#aad2bd56d36c75bcc4c24cbe318b8dc2f">getStartAngle</a> ()</td></tr>
<tr class="separator:aad2bd56d36c75bcc4c24cbe318b8dc2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8f14fee0de51ebb3fdeaebcfbbebe6a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#ab8f14fee0de51ebb3fdeaebcfbbebe6a">getLineWidth</a> ()</td></tr>
<tr class="separator:ab8f14fee0de51ebb3fdeaebcfbbebe6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76dccc12aeed5cc1f87648644d4197c0"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a76dccc12aeed5cc1f87648644d4197c0">getUnit</a> ()</td></tr>
<tr class="separator:a76dccc12aeed5cc1f87648644d4197c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ef37ee4cba4058de19f03a068aaeb9c"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a4ef37ee4cba4058de19f03a068aaeb9c">getCounterClockWise</a> ()</td></tr>
<tr class="separator:a4ef37ee4cba4058de19f03a068aaeb9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3e7c9d5dc309a411b28696210e9a81"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a2a3e7c9d5dc309a411b28696210e9a81">getShowText</a> ()</td></tr>
<tr class="separator:a2a3e7c9d5dc309a411b28696210e9a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:af2a2b9084124ed91653c7210b65e5020"><td class="memItemLeft" align="right" valign="top"><a id="af2a2b9084124ed91653c7210b65e5020"></a>
static <a class="el" href="classawtk_1_1_progress_circle.html">ProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:af2a2b9084124ed91653c7210b65e5020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2fa912ea77753843eda05df6994df9"><td class="memItemLeft" align="right" valign="top">static Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#ade2fa912ea77753843eda05df6994df9">create</a> (Widget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:ade2fa912ea77753843eda05df6994df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87fc7d5bd6357cef7d1e4ab30cab4617"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_progress_circle.html">ProgressCircle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_progress_circle.html#a87fc7d5bd6357cef7d1e4ab30cab4617">cast</a> (Widget widget)</td></tr>
<tr class="separator:a87fc7d5bd6357cef7d1e4ab30cab4617"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aeb5bde6f530acdaaf2d34393bc689f2c"><td class="memItemLeft" align="right" valign="top"><a id="aeb5bde6f530acdaaf2d34393bc689f2c"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:aeb5bde6f530acdaaf2d34393bc689f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>进度圆环控件。</p>
<p>progress_circle_t是widget的子类控件，widget_t的函数均适用于progress_circle_t控件。</p>
<p>在xml中使用"progress\_circle"标签创建进度圆环控件。如：</p>
<div class="fragment"><div class="line">&lt;<span class="keywordtype">progress_circle</span> <span class="keyword">max</span>=<span class="stringliteral">&quot;360&quot;</span> <span class="keyword">show_text</span>=<span class="stringliteral">&quot;true&quot;</span> <span class="keyword">start_angle</span>=<span class="stringliteral">&quot;90&quot;</span> /&gt;</div></div><!-- fragment --><p>更多用法请参考： <a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/progress_circle.xml">progress_circle.xml</a></p>
<p>在c代码中使用函数progress_circle_create创建进度圆环控件。如：</p>
<p>完整示例请参考： <a href="https://github.com/zlgopen/awtk-c-demos/blob/master/demos/progress_circle.c">progress_circle demo</a></p>
<p>可用通过style来设置控件的显示风格，如字体的大小和颜色等等。如：</p>
<div class="fragment"><div class="line">&lt;<span class="keywordtype">style</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;default&quot;</span>&gt;</div><div class="line">&lt;<span class="keywordtype">normal</span> <span class="keyword">text_color</span>=<span class="stringliteral">&quot;green&quot;</span> <span class="keyword">fg_color</span>=<span class="stringliteral">&quot;black&quot;</span> /&gt;</div><div class="line">&lt;/<span class="keywordtype">style</span>&gt;</div></div><!-- fragment --><p>更多用法请参考： <a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/styles/default.xml#L467">theme default</a> </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a87fc7d5bd6357cef7d1e4ab30cab4617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87fc7d5bd6357cef7d1e4ab30cab4617">&#9670;&nbsp;</a></span>cast()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_progress_circle.html">ProgressCircle</a> awtk.ProgressCircle.cast </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为progress_circle对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>progress_circle对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>progress_circle对象。 </dd></dl>

</div>
</div>
<a id="ade2fa912ea77753843eda05df6994df9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade2fa912ea77753843eda05df6994df9">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Widget awtk.ProgressCircle.create </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建progress_circle对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a4ef37ee4cba4058de19f03a068aaeb9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ef37ee4cba4058de19f03a068aaeb9c">&#9670;&nbsp;</a></span>getCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.ProgressCircle.getCounterClockWise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否为逆时针方向(缺省为FALSE)。 </p>

</div>
</div>
<a id="ab8f14fee0de51ebb3fdeaebcfbbebe6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8f14fee0de51ebb3fdeaebcfbbebe6a">&#9670;&nbsp;</a></span>getLineWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.ProgressCircle.getLineWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>环线的厚度(缺省为8)。 </p>

</div>
</div>
<a id="a370d6c2c6c6741d6e76b2d0f0cd8e548"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a370d6c2c6c6741d6e76b2d0f0cd8e548">&#9670;&nbsp;</a></span>getMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.ProgressCircle.getMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>最大值(缺省为100)。 </p>

</div>
</div>
<a id="a2a3e7c9d5dc309a411b28696210e9a81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a3e7c9d5dc309a411b28696210e9a81">&#9670;&nbsp;</a></span>getShowText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.ProgressCircle.getShowText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否显示文本(缺省为TRUE)。 </p>

</div>
</div>
<a id="aad2bd56d36c75bcc4c24cbe318b8dc2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad2bd56d36c75bcc4c24cbe318b8dc2f">&#9670;&nbsp;</a></span>getStartAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.ProgressCircle.getStartAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>起始角度(单位为度，缺省-90)。 </p>

</div>
</div>
<a id="a76dccc12aeed5cc1f87648644d4197c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76dccc12aeed5cc1f87648644d4197c0">&#9670;&nbsp;</a></span>getUnit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.ProgressCircle.getUnit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>单元(缺省无)。 </p>

</div>
</div>
<a id="a1247154748a1ee783276f0829a2bbb67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1247154748a1ee783276f0829a2bbb67">&#9670;&nbsp;</a></span>setCounterClockWise()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setCounterClockWise </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>counter_clock_wise</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否为逆时针方向。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">counter_clock_wise</td><td>是否为逆时针方向。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a4022e2a536a3cb278146b9b2b1a70ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4022e2a536a3cb278146b9b2b1a70ae2">&#9670;&nbsp;</a></span>setLineWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setLineWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line_width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置环线的厚度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_width</td><td>环线的厚度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aef4fe8d2a6eb823803d41359fe358c50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef4fe8d2a6eb823803d41359fe358c50">&#9670;&nbsp;</a></span>setMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setMax </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置最大值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>最大值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="adf57a4252c4a8bdef3c3a81cf184658a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf57a4252c4a8bdef3c3a81cf184658a">&#9670;&nbsp;</a></span>setShowText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setShowText </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>show_text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否显示文本。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_text</td><td>是否显示文本。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac7014b8cd63127dabe5772835787c568"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7014b8cd63127dabe5772835787c568">&#9670;&nbsp;</a></span>setStartAngle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setStartAngle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>start_angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置起始角度。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">start_angle</td><td>起始角度。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a1cefef751f59a6af2e3151735d079525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cefef751f59a6af2e3151735d079525">&#9670;&nbsp;</a></span>setUnit()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setUnit </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>unit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置单位。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">unit</td><td>单位。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ab66afdd5bfdf457fafb46d4108b18655"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab66afdd5bfdf457fafb46d4108b18655">&#9670;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.ProgressCircle.setValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/ProgressCircle.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
